
public class Process3 extends Process {
	public Process3(int i,int j,int k)
	{
		super(i,j,k);
	}

	public void run() {
		while(pcb.run_time>0)
		{
		manager.running=this;
		P(2);
		MainFrame.tf_running.append("\np3");
		pcb.run_time--;
		try {sleep(1000);} catch (InterruptedException e) {e.printStackTrace();}
		V(0,-1);
		}
		P(2);
	}
}
